package org.yoome.jtools.distributelock;


import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
@Inherited
public @interface AutoDistributeLock {
    String key() default "";

    long expireTime() default 5000L;

    Class<? extends DistributedKeyGenerator> keyGenerator() default DistributedKeyGenerator.class;
}
